package us.sunrisemorning.douyuchat;

import org.tio.core.ChannelContext;

public class MessageEvent {
	private byte[] body;
	private ChannelContext channelContext;

	public MessageEvent(byte[] body, ChannelContext channelContext) {
		this.body = body;
		this.channelContext = channelContext;
	}

	public byte[] getBody() {
		return body;
	}

	public void setBody(byte[] body) {
		this.body = body;
	}

	public ChannelContext getChannelContext() {
		return channelContext;
	}

	public void setChannelContext(ChannelContext channelContext) {
		this.channelContext = channelContext;
	}
}
